package com.repair.entity;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;
@Data
@Component
@ConfigurationProperties(prefix = "urls")
public class PassUrlProperties {
    //公共的需要放行的地址
    private List<String> baseUrls;
    //用户的需要放行的地址
    private List<String> userUrls;
    //管理员放行的地址
    private List<String> adminUrls;
}
